<template>
  <view class="conter">
    <view class="header-status">
      <view class="status-name">已取消</view>
      <view class="status-img"><image src="https://jinlin-airobot.oss-cn-shenzhen.aliyuncs.com/host/app_static/my/order/Order_map_2.png"></image></view>
    </view>
    <view class="main">
      <view class="detail-list">
        <view class="goods-list">
          <view class="detail-img"><image style="border-radius: 20rpx" mode="aspectFill" src="https://jinlin-airobot.oss-cn-shenzhen.aliyuncs.com/host/app_static/home/goods.png"></image></view>
          <view class="mainTitle">神秘太空客栈</view>
        </view>
        <view class="item-box school-time">
          <view>开课时间</view>
          <view class="time-code">2021.10.18</view>
        </view>
        <view class="item-box">
          <view>商品总额</view>
          <view class="price-goods">￥999</view>
        </view>
        <view class="item-box">
          <view>优惠金额</view>
          <view class="price-goods">￥100</view>
        </view>
        <view class="item-box">
          <view>实付金额</view>
          <view class="price-goods" style="font-weight: bold;">￥888</view>
        </view>
        <view class="item-box order-serial ">
          <view>订单编号</view>
          <view class="time-code">8564356316351</view>
        </view>
        <view class="item-box">
          <view>下单时间</view>
          <view class="time-code">2021.09.15 11:32</view>
        </view>
        <view class="item-box" style="margin-bottom: 0;">
          <view>支付时间</view>
          <view class="time-code">2021.09.15 11:32</view>
        </view>
      </view>
      <view class="paly-btn">去支付</view>
    </view>
  </view>
</template>

<script>
  export default{
    data() {
      return{}
    },
    onLoad() {
       this.$wechat.unseBehavior()
    },
  }
</script>

<style lang="scss" scoped>
  .conter{
    background: #EDEDED;
    height: 100vh;
    padding: 32rpx 40rpx 0 40rpx;
    .header-status{
      width: 100%;
      height: 200rpx;
      background: #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-radius: 40rpx;
      padding-left: 48rpx;
      .status-name{
        font-size: 36rpx;
        font-weight: bold;
      }
      .status-img{
        width: 200rpx;
        height: 200rpx;
      }
    }
    .main{
      padding-top: 32rpx;
      .detail-list{
        width: 100%;
        height: auto;
        background: #FFFFFF;
        border-radius: 40rpx;
        padding: 32rpx;
        .goods-list{
          display: flex;
          align-items: center;
          .detail-img{
            width: 128rpx;
            height: 128rpx;
          }
            .mainTitle{
              font-size: 28rpx;
              color: #262626;
              margin-left: 16rpx;
            }
        }
        .item-box{
          display: flex;
          align-items: center;
          justify-content: space-between;
          margin-bottom: 20rpx;
          font-size: 24rpx;
          .time-code{
            font-size: 20rpx;
            color: #8C8C8C;
          }
          .price-goods{
            color: #FF800C;
            font-size: 24rpx;
          }
        }
        .school-time{
          padding: 32rpx 0 24rpx 0;
          border-bottom: 2rpx solid #EEEEEE;
        }
        .order-serial{
          padding-top: 24rpx;
          border-top: 2rpx solid #EEEEEE;
        }
      }
      .paly-btn{
        width: 464rpx;
        height: 72rpx;
        line-height: 72rpx;
        text-align: center;
        background:  #FF800C;
        color: #FFFFFF;
        border-radius: 36rpx;
        margin: 48rpx auto;
      }
    }
  }
</style>
